package com.genesis.mall.service;

import com.genesis.mall.common.PageInfo;
import com.genesis.mall.entity.SmsFlashPromotionProductRelation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品限时购与商品关系表 服务类
 * </p>
 *
 * @author author
 * @since 2022-08-01
 */
public interface ISmsFlashPromotionProductRelationService extends IService<SmsFlashPromotionProductRelation> {
    /*批量选择商品添加关联*/
    void create(List<SmsFlashPromotionProductRelation> smsFlashPromotionProductRelations);

    void updateBy(SmsFlashPromotionProductRelation smsFlashPromotionProductRelations);
    /*分页*/
    PageInfo listAll(Integer flashPromotionId, Integer flashPromotionSessionId, Integer pageNum, Integer pageSize);
}
